<?php
/*
* QuestionareDTO
*/
class QuestionareDTO{

	private $answers;
	private $userName;
	private $email;	
	private $additionalInfo;

	public function __construct(){
		$this->answers = array('question_0' => -1,
				       'question_1' => -1,
				       'question_2' => -1,
				       'question_3' => -1,
				       'question_4' => -1,
				       'question_5' => -1,
				       'question_6' => -1,
				       'question_7' => -1,
				       'question_7' => -1,
				       'question_8' => -1,
				       'question_9' => -1,	 	 	
				       'question_10' => ''	
		);
	}

	public function GetAnswers(){
		return $this->answers;
	}

	public function __set($param,$value){
		$this->answers[$param] = $value; 
	}

	public function __get($param){
		if(array_key_exists($param,$this->answers))
			return $this->answers[$param];	
	}

	public function SetUserName($userName){
		$this->userName = $userName;
	}
	public function GetUserName(){
		return $this->userName;
	}
	public function SetEmail($email){
		$this->email = $email;
	}
	public function GetEmail(){
		return $this->email;
	}


}
?>
